fig=figure(1);hold on;
plot([-1 0 1],[-1 0 1],'*');
line([-4 4],[0 0]);
% text(0.5,0,'0.5');
% text(-0.5,0,'-0.5');
% text(0.625,0,'0.625');
% text(-0.625,0,'-0.625');
% text(0.75,0,'0.75');
% text(-0.75,0,'-0.75');
% text(0.875,0,'0.875');
% text(-0.875,0,'-0.875');
% text(1,0,'1');
% text(-1,0,'-1');
% text(1.25,0,'1.25');
% text(-1.25,0,'-1.25');
% text(1.5,0,'1.5');
% text(-1.5,0,'-1.5');
% text(1.75,0,'1.75');
% text(-1.75,0,'-1.75');
% text(2,0,'2');
% text(-2,0,'-2');
% text(2.5,0,'2.5');
% text(-2.5,0,'-2.5');
% text(3,0,'3');
% text(-3,0,'-3');
% text(3.5,0,'3.5');
% text(-3.5,0,'-3.5');
% text(0,0,'0');
text(0.5,0,'*');
text(-0.5,0,'*');
text(0.625,0,'*');
text(-0.625,0,'*');
text(0.75,0,'*');
text(-0.75,0,'*');
text(0.875,0,'*');
text(-0.875,0,'*');
text(1,0,'*');
text(-1,0,'*');
text(1.25,0,'*');
text(-1.25,0,'*');
text(1.5,0,'*');
text(-1.5,0,'*');
text(1.75,0,'*');
text(-1.75,0,'*');
text(2,0,'*');
text(-2,0,'*');
text(2.5,0,'*');
text(-2.5,0,'*');
text(3,0,'*');
text(-3,0,'*');
text(3.5,0,'*');
text(-3.5,0,'*');
text(0,0,'*');
hold off;
frame=getframe(fig);
img=frame2im(frame);
imwrite(img,'B_1.png');
